<template>
  <div class="stake_container">
    <div>
      <van-nav-bar :fixed="true" title="What is Proof of Stake?" @click-left="onClickLeft">
        <template #left>
          <van-icon :name="arrow" size="18" />
        </template>
      </van-nav-bar>
    </div>
    <div class="font">
      <!-- Introduction -->
      <div class="title">Introduction:</div>
      <div class="text">
        Ethereum, a leading blockchain platform, is transitioning from a Proof of Work (POW) consensus mechanism to a
        Proof
        of Stake (POS) mechanism through its Ethereum 2.0 upgrade. PoS staking is an essential component of this
        transition,
        providing users with an opportunity to support network security and operation while potentially earning rewards.
        This article provides an overview of
        Ethereum POS staking and its benefits.</div>
      <!-- Ethereum 2.0 and Proof of Stake (POS) -->
      <div class="title">Ethereum 2.0 and Proof of Stake (POS):</div>
      <div class="text">
        Ethereum 2.0 is a major network upgrade aimed at improving scalability, security, and sustainability. One of the
        key
        changes is the shift from the energy-intensive PoW consensus mechanism to the more environmentally friendly PoS
        mechanism. In PoS, validators are chosen to create new blocks and confirm transactions based on the amount of
        cryptocurrency they hold and are willing to "stake" as collateral.</div>

      <!-- The Staking Process -->
      <div class="title">The Staking Process:</div>
      <div class="text">
        To participate in Ethereum POS staking, users must stake a minimum of 32 ETH by depositing it into the Ethereum
        2.0
        deposit contract. Once staked, the ETH is locked for a certain period and serves as collateral to secure the
        network. Validators are chosen based on the amount of staked ETH and their online activity. They are responsible
        for
        proposing and validating new blocks, as well as confirming transactions on the network.</div>
      <!-- Staking Rewards and Risks -->
      <div class="title">Staking Rewards and Risks:</div>
      <div class="text">
        By participating in POS staking, users can earn rewards in the form of newly minted ETH and transaction fees.
        The
        rewards are based on the amount of ETH staked and the overall network activity. However, staking also comes with
        risks, such as the potential for penalties if a validator behaves maliciously or fails to stay online
        consistently.
        Additionally, the staked ETH is locked for a certain period, making it illiquid and subject to price
        fluctuations.
      </div>
      <!-- Joint Staking and Individual Staking -->
      <div class="title">Joint Staking and Individual Staking:</div>
      <div class="text">
        For users who do not have the required 32 ETH to stake individually, joint staking offers an alternative. In
        joint
        staking, multiple users pool their ETH together to reach the required staking amount. This pooling is typically
        facilitated through smart contracts or staking services, allowing users to participate in Ethereum PoS staking
        with
        smaller amounts of ETH.</div>
      <!-- Your Rights and Choices -->
      <div class="title">Conclusion:</div>
      <div class="text">
        Ethereum PoS staking is a significant aspect of the Ethereum 2.0 upgrade, offering users the opportunity to
        support
        network security, improve decentralization, and earn rewards. By understanding the staking process, its rewards,
        and
        risks, users can make informed decisions about participating in this crucial evolution of the Ethereum network.
      </div>
      <!-- Changes to This Privacy Policy -->
      <div class="title"> What is ETH POS staking?</div>
      <div class="text">
        Ethereum PoS staking is a significant aspect of the Ethereum 2.0 upgrade, offering users the opportunity to
        support
        network security, improve decentralization, and earn rewards. By understanding the staking process, its rewards,
        and
        risks, users can make informed decisions about participating in this crucial evolution of the Ethereum network.
        What is ETH POS staking?
        ETH POS (Ethereum Proof of Stake) staking is a process in which participants lock up a certain amount of their
        Ethereum (ETH) tokens in a wallet to support the Ethereum network's security and operations. With the Ethereum
        2.0
        upgrade, the network is transitioning from a Proof of Work (POW) consensus mechanism to a Proof of Stake (POS)
        mechanism. In POS, validators are chosen to create new blocks and confirm transactions based on the amount of
        cryptocurrency they hold and are willing to "stake" as collateral. Staking ETH can provide
        participants with rewards in the form of newly minted ETH and transaction fees.
      </div>
    </div>

  </div>
</template>

<script setup name='Stake'>
import { reactive, ref, onMounted, defineEmits, defineProps, defineExpose } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { userStore } from '@/store'
import arrow from '@/assets/images/user/arrow.png'

// 初始化仓库
const store = userStore()
// 变量区
const router = useRouter()
const route = useRoute()
const state = ref('')



// 代码区
const onClickLeft = () => {
  history.back()
  store.SET_PATH_DATA('yes')
}



onMounted(() => {

})

// 将组件中的数据进行暴露出去
defineExpose({

})
</script>

<style lang="scss" scoped>
.stake_container {
  .font {
    padding: 60px 30px 0px;
    font-size: 23px;
    color: #000;

    .title {
      font-size: 30px;
      // font-weight: 700;  
      margin-top: 30px;
    }

    .text {
      margin-bottom: 20px;
    }
  }
}
</style>